<?php

/**
 * Description of Article
 *
 * @author MAZID
 */
class Article {
    
    public function __construct($serie) {
       $serie = $numserie ;
    }
    //initialisation du code barre de l'article
    private function initCodeBarre(){
        $dtEntree = getdate($stockIn.getDateEntree() );
        $codeBarre = $dtEntree['year'] +  $dtEntree['yday'] + $numSerie  ;
    }
    protected function setNomType($type){
        $typeArticle = $type;
}
    public function getNomType(){
        return $typeArticle->$nomType;
}
    
    protected function setStockIn($In){
        $stockIn = $In;
}
    protected function setStockOut($Out){
        $stockOut = $Out;
}
    public function getNumSerie(){
        return $numSerie;
}
    
    public function getModele(){
        return $typeArticle->$modele;
}
    public function getQuantite(){
        $qte->$quantite;
    }
}

?>
